package io.gitee.wminyu.day01;

public class testIFELSE {
    public static void main(String[] args) {
        //求绝对值

            int x = -41;
            int abs;
            if (x > 0) {
                abs = x;
            } else {
                abs = -x;
                System.out.println(abs);
            }

    }
}
